package com.hongyi.mapper;

import com.hongyi.dto.StudentDto;
import com.hongyi.pojo.Student;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author: hongyi
 * @CreateTime: 2024-08-30
 */

@Mapper
public interface StudentMapper {
    StudentDto queryOneStudent(long id);

   void  insertOneStudent(Student student);

   void insertBatchStudent(List<Student> list);
}
